//
//  OrderListApi.m
//  SeaMelonSeeds_Counselor
//
//  Created by 尤振宇 on 2017/8/18.
//  Copyright © 2017年 杨笑. All rights reserved.
//

#import "OrderListApi.h"

@implementation OrderListApi



-(instancetype)initWithType:(int)type completed:(BOOL)completed
{
    self=[super init];
    if (self) {
        _type = type;
        _completed = completed;
        self.needHUD = NO;
        
    }
    return self;
}

-(NSString *)requestUrl
{
    return @"index";
}

-(id)requestArgument
{
    return @{@"page":@(self.page),@"per_page":@"10",@"type":@(_type),@"status":@(_completed)};
}

@end
